populate undeclared uri parameters with defaults

fixes #4