Fetch and parse JSON from REST API | Motive Interview Question