Remove spaces from {}