mulformed JSON error handling
Merge pull request #5 from Songmu/fix/json-error-handling

mulformed JSON error handling