prepare headers can be extended by plugin
improved apiary parsing, init config (ast)