refactor(unit): Use all options provided in unit file

This requires a new format in a Registry, but it maintains
support for the old format for now.