Replace {} by []