switch to JSON encoding for requests
add multi-letter support

*Fix template for multi-letter support
*Parse static tokens separately from non-static tokens
*Order dynamic (i.e. recipient-dependent) tokens by group id
*Add letters depending on the number of token groups
Change the PDF's disposition from attachment to inline
escape $ properly, add whitespace after escaped char only if necessary
update client submodule