trim values in json_decode for null, true and false

JSON RFC says to consider as whitespace: space, tab, LF, CR