association proxies are not json serializable
this can be easily circumvented by simply casting them when needed, e.g. calling
however, it would be great if these objects were directly serializable. the ORM instrumented objects, InstrumentedList, InstrumentedSet, and InstrumentedDict already achieve this because they respectively subclass list, set, and dict -- the
json package handles them appropriately then.