check_json: support parsing file URLs and local paths
This MR patches check_json
to support parsing file://
URLs or local paths. The logic to distinguish paths from URLs is very rudimentary, and could probably do with something more robust, but it works for basic usage.