$metadataKeys could default to an empty array no?