More structured metadata in generated NML2 files

Uses classes at https://github.com/OpenSourceBrain/OSB_API