Remove spaces before colon characters to make it more compliant with common json examples