Better handle Boolean, Record and Records field values