[wip] Generic format validator

Refactors specs to the new applicator functions