Replace brackets with parentheses