removed more stupid things and moved to ujson (10% speedup in broker)