reverse engineer templated outputs