[#3307] Change internal representation of AbstractRecord to use Object[] and BitSet instead of Value[]