Bug on read function

If the JSON file has a format error, was deleted instead of throw the error message.
Merge pull request #85 from mcvendrell/patch-1

Bug on read function