Fixing the metadata.json file to be valid json