Better expression normalization

- always remove spaces around nested expressions
- normalize string literals to use single quotes