Created a JSON object to export the parts of speech as well as the sentence generated