Use separate parsers for SPDX
Unfortunately this breaks when we perform parsing JSON files that (allegedly) contain control characters, so a short-term solution for this can be to duplicate the JSON and YAML parsers.
Unfortunately this breaks when we perform parsing JSON files that (allegedly) contain control characters, so a short-term solution for this can be to duplicate the JSON and YAML parsers.