CORE-1796 Serialize changelogs as formatted sql