Add note about paths in README
Add test for malformed JSON parsing