fixed nested object suggestion not working for arrays