parseArray: working on the parsing of element and properties