Switch to cjson from serpent, its faster, removes an extra lib and we dont need to serialise functions or anything special