Trying to retrieve JSON data and pass it to Transparency