strip whitespace when serializing