fix space after colon, trailing commas