Improve yaml dump.