Fixing #1497 and expanding get_input to handle floats and booleans autom...

...atically.
is_bool only works if the input is an actual boolean type (true or false). I haven't tested, but I don't think input data is parsed as bool at all, it's always string.