convert value to lowercase on Document.getBoolean