Put brackets around split strings