fixes bug 1052007 - Switch to ujson for parsing middleware JSON
Merge pull request #2283 from peterbe/bug-1052007-switch-to-ujson-for-parsing-middleware-json

fixes bug 1052007 - Switch to ujson for parsing middleware JSON