Refactor

Since this method is being defined in the main object space, we should probably name it something less collision-prone like `_json_spec_match`.