json_decode only when we see a { or [ in pos 0

json_decode only when we see a { or [ in pos 0