starting on stats, just enhancing Yaml to also encode multi document