Finally got incoming JSON to be recognized using JSON.parse(request.body.read), now we need to clean things up.
Cleaning up and refactoring, preparing to test on heroku.