Like JSON.parse, but without the throw.  Accepts json too.