Move API data retrieval to the json data contract classes