beef up returns_json