dismember.models.to_dict (general util for models)