fix DRF3 pathitem serializer