add ability to get all cases without the entire doc