use simplejson for pushes
refactor all the things