Add brackets to multiline string only when necessary