Store default values of RPC arguments in the corresponding type instead of a string. The value is then serialized when the help output is needed.
This enables checking default value type againts argument type.
This is a backport of [[https://github.com/bitcoin/bitcoin/pull/21679 | core#21679]]
Depends on D14405