separate common logic for DocJSONSerializer and DocJSONModelSerializer into DocJSONSerializerMixin
create a reverse function that wraps the rest_framework reverse fucntion in the DocJSON list format