More URI dereferencing including capybara tests for id -> doc