working on JSON formatting