Converts the Reddit API to JSON