Maybe as_dict(), or get_dict_repr(), or something?