Support nested objects and indexes.