In continuation of #42, could a polars struct be allowed as input for map_json or maybe a map_struct? When I have a JSON as part of a dataframe, for instance by using df = pl.read_json(file_path), I feel like it's too much encoding/decoding to json.
This would allow something like
df = pl.read_json(file_path)
s = df.get_column("Results")
m = Model()
m.map_json(s, graph="urn:graph:tmp")