By default, Durandal's router.parseQueryString method will simply provide all query parameters as strings, which isn't ideal if you're working with data heavily.

We can work around this by overwriting and enhancing the parseQueryString method, type casting variables into their correct types.

This is useful for primitive data types, but as usual YMMV depending on the type of data you're attempting to pass through!