Rational JazzHub hook - fixed bug and doc

We found out that optional parameters didn't behave the way we expected, so improved our handling of them.  Added a testcase.  Updated the docs to reflect a change in syntax.