Update to save dependencies as a separate field from metadata.