Fetch and process JSON from REST API | Motive