Capture JSON.parse errors

https://github.com/strongloop/strong-remoting/issues/50