rewrote the serializers to link between entities via hyperlinking