fix pushing array to document's key