Added array dict option to glazyElement()