Fixed a regex bug in the main file where we were matching to
.json instead of \.json.