Correctly encoding multi-valued structured text components. Issue #40.
Also enclosing parameters in double-quotes when a value contains a
comma.