Trying to consume the json api