It was originally named to_json, but that's not what it does - it'd be completely inaccurate to call it that, since it returns... a dictionary.

as_dict would probably be a better name, since it doesn't return an object either.