json builder made a little prettier

accepts: b5a6ccaa93