Factor out methods for converting messages to and from json-encoded-body dictionaries.
Factor out methods for converting messages to and from json-encoded-body dictionaries.

praekelt/vumi-go,praekelt/vumi-go,praekelt/vumi-go,praekelt/vumi-go