add id and value keys to all json files when formatting