Django-REST-framework serializer fields for compound types.