Metadata json support