Changed the serializers to regular model serializers and replaced URLs with IDs.