Fixing JSON view.