I wrote this parser because I couldn't find another utility that did exactly what I want, which is to parse the header and return the schema and metadata in JSON format. In particular, I need a JSON format schema to use when uploading a VCF as a table to BigQuery.
https://github.com/abalter/vcf_header_parser
Currently, the tool does both and includes many options. One To Do item is to facilitate other cloud platforms and database types.
Please stress test!