Strip down parseUri to just the pieces that we need