boolean param handles string and integer inputs
coerce strings and numbers in boolean