corrected bad json output format