str2bool should return a boolean if called with a boolean

It is difficult to migrate from using all boolean values to running them through this for normalization because it does not return booleans.