def dump_json(data):

    json_kwargs = {
        'sort_keys': True,
        'indent': 4,
        'separators': (', ', ': ')
    }

    return force_bytes(json.dumps(data, **json_kwargs))
Re-listening with the same L{DatagramProtocol} re-invokes the
dataset/ETHPy150Open django-json-api/django-rest-framework-json-api/example/tests/utils.py/dump_json--crossover with--dataset/ETHPy150Open nlloyd/SubliminalCollaborator/libs/twisted/test/test_udp.py/UDPTestCase.test_rebind