handle manifest objects as well as paths