removed warning
fixed encoding fail
accepting different kind of boolean strings
fixed bug: boolean handler was not handling primitive booleans