Moved metadata parsing to a dedicated service which is injected into the form. [WIP]
The metadata validator is now a service which uses the metadata parser.