Fixing JSON formatting