Added support to handle malformed JSON

* Updated README