fix bug 1065071 - ignore unrecognizable JSON files

Also, I would replace the print statement with something like this instead:
```
# TODO - we need to refactor this code so we can use `config.logger` here.
# Then we can debug log invalid JSON. 
```