add parentheses so toExternalString works better on matrices