cleaned up output of json