fixing JSON