add .get() method to fetch parameter value

Simplifies getting parameters that you have asserted.