Store the resolution fork markers to the lockfile
Add the overall list of forks to the lockfiles, so we can use them as preferences to avoid instabilities in the next step.
I've ordered the structs so that metadata is on top, and payload at the bottom, as it is in the lockfile itself.