added json parser / formatter