Fixed type error that was preventing raw JSON render