def pack_message_other(code, data):
    """
    Method by which other modules messages are (re-)packed

    :param code: the code of the message
    :param data: the data to pack
    :return: dict, code and data
    """
    b_data = bytes(data, 'ascii')
    return {'code': code, 'data': b_data}