square to curly brackets