I already did that. The problem I am facing if I do that is,
if we send it as it is, the JSON loses its structure -> as JSON is converted to str internally. Once we do this, I am not able to load it back as it will lead to JSON decode error.
Also,
relationships={<NodeRelationship.SOURCE: '1'>: RelatedNodeInfo(
if you look the response object, it contains NodeRelationship, RelatedNodeInfo, etc. which are schema classes that cannot be loaded back from str format, at the receiving end.