move Dependencies into Metadata struct