Currently the structure and contents of the generated binary metadata is fixed. Ideally, the user should be able to customise the metadata to contain the information they're interested in, in a structure which suits them. As the metadata is generated using a proc macro, this can be achieved by reading from a config file and tailoring the generated code accordingly.
The extraction tool mentioned in #2 will also need to be able to read this config file in order to be able to identify and parse the embedded metadata.