Preparing JSON messaging example.