Update json parser
Fixes from jshint