Update json.js

Trim prevents prefix spaces from breaking JSON.parse when JSON starts with a space. Consider this: http://jsfiddle.net/tuoh6qyx/