get design doc from within contains view function