Change return type for string_to_bool