protected function createMessageBody(MessageInterface $message)
    {
        $body = [];
        if ($message instanceof BaseOptionedModel) {
            $body = $message->getOptions();
        }
        $body['message'] = $message->getText();

        return json_encode($body);
    }