Add Metadata-JSON conversion sample