WOrked on JSON output formatiing