Fixed small bug with JSON render