support for structured json messages