Editing serializers, flake8 cleanup