Usage of `base._decl_class_registry` in the `JSONAPI` constructor causes an error in SQLAlchemy 1.4.x (Line 235 of serializer.py). Fix - replace with `base.registry._class_registry`