WMC persistence

WIP for https://github.com/georchestra/georchestra/issues/443