Switched to using ujson instead of json for performance reasons