Improved shiva.utils.parse_bool