Load API data into json and then dict