script_utils.parseInputs(): unwrap input recursively (issue #2439)

getValue() will only unwrap the lower level value which is not enough in
the case of rlists, rmaps, etc. Full unwrap makes it more useful to the user.