fix typing and to-basec generation for Reporting dsl