metadatafield json and testing