also convert arrays
now we deal with inheritance properly...