Created a basic way to receive JSON data