Capture back metadata.json reformating