changing json to 3 brachets