correct README file and add a test for malformed json error parsing