slight debug on get_qog

focusing on Stata files, moving format features to file export