add json extension to metadata file