fixes bug 1051984 - Use ujson to serialize JSON
dependency on whitespace in e2e test
Merge pull request #2282 from peterbe/bug-1051984-use-ujson-to-serialize-json

fixes bug 1051984 - Use ujson to serialize JSON