config: switch to static structs

Documenting config files with static structures is actually
pretty nice.