deal with possible json parser errors

in this case: leave object untouched