Hello @jinnyzor ,
Thank you, thats what I needed. I remade it in Python, so I won’t have to modify the package. Here is the Python version, just in case someone else might need it.
def stringify_id(id):
if not isinstance(id, dict):
return id
def stringify_val(v):
return v.get("wild") if isinstance(v, dict) and v.get("wild") else json.dumps(v)
parts = [json.dumps(k) + ":" + stringify_val(id[k]) for k in sorted(id)]
return "{" + ",".join(parts) + "}"
With this it worked perfectly fine.