@staticmethod
def make_message(topic, datamessage):
    """
        Wraps given datamessage into a json-payload

        :param str topic: mqtt topic
        :param DataMessage datamessage: a datamessage object
        :return: tuple of topic and json payload
        :rtype: tuple
        """
    payload = datamessage.to_json()
    return topic, payload
