Fixed r.json error