Using json rather than .properties format for rewritten .metadata.json