Fix nokogiti parser for the same attr and inner element name

Say we have this xml:

```xml
<user name='John'><name>Smith</name></user>
```

All parsers give result: `{'user' => {'name' => ['John', 'Smith']}`
But nokogiri parser loses inner element: `{'user' => {'name' => 'John'}}`

This fix solves this issue.