Coerce path parameter to allow URI objects to be passed as arguments