Parse JSON and send back as a response