Managed to get JSON returned from API.