[JBMAR-172] Reserve instance cache entries in same order they are written for empty object arrays