add spacebars after `{` and before `}`