config: handle ints, reals and false