There are several approaches to references in JSON. A common Python library I found via StackOverflow mentions is: https://pypi.org/project/jsonref/ (it supports automatic dereferencing at load time, but dumping references is still a slight challenge).
I've looked into ORMs but these are invasive in terms of needing to annotate your classes and fields.