cache models use array for serialization