Path variable REST context injector