Change the formal json object of getMetadata