progress with reformatting json