Utils to help building a REST API with django-rest-framework