to_dict(for_json=True) ignores non-jsonic types