Change format for ks_spaces

tested by hand

depend on https://github.com/Mirantis/astute/pull/84