...
The API Agent will support Freemarker templating (see http://freemarker.org/). Any MessageJSON EntityJSON content associated with a message will be made available as the data model in the Freemarker interpreter and macros can then be used to expand the supplied MessageML document into a PresentationML document which fully describes the message.
...