added json parser with newton