racker/node-swiz — pull request #40 by br8kpoint (2014-05-16 02:40:16+00:00)
Title: Fix for empty elements that are not self closed

In a situation where the xml to parse contains empty elements that are not self closed, swiz behaves strangely.
```
eg.

```
Swiz would produce:
```javascript
{
element:{ element: null}
}
```

This fix would create an object that looks like the following:

```javascript
{
element: null
}
```

Provided you set stripNulls:false.

I also created a test for this case that passes. I am not 100% sure if more tests for other cases are needed.