Issues #436, #442, #407 fixed - arrays do not converting into objects now