RFC: dynamic generation of mock config from template?