minor serialization changes + only write Berksfile sources in the lockfile