add various accessors to json values
fix integer parsing