fixed the appropriate request/json conversion