def __set_asset(self, key, data):
        LOG.debug("%s:%s", key, data)
        self.asset[key] = data
Ensure that Models without a primary key are correctly serialized.
dataset/ETHPy150Open turbulenz/turbulenz_tools/turbulenz_tools/tools/asset2json.py/JsonAsset.__set_asset--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/lib/PyAMF-0.6.1/pyamf/tests/adapters/test_django.py/PKTestCase.test_no_pk