Remove to_b and switch to checking on the string
Merge pull request #43 from continuuity/hotfix/hive-checkconfig

Remove to_b and switch to checking on the string