Add the ability to specify default param values in register_json_route

Crafty — took me a second to see what you did here.