removing all of simplejson

removed simplejson from filter and postto.
fixed var and avg.