Re #529, this switches to using str_to_bool