fiddling json formatting