1. JSON parser error not properly displayed

Error from JSON parser is not properly formatted when displayed in dialog.

![Parser error](https://cloud.githubusercontent.com/assets/166062/3741234/c5f7a0ba-175d-11e4-96c9-8a29e31c58cc.png)