removed futile formatting trick that produced bad json output
prettify the json output