Add a push API to accept normalized json files

There should already be a variable called `DEBUG` in settings