switch piston emitter to use json rather than simplejson lib
merge