Convert empty to null for json

- Empty -> null for json
- Add specs for Empty -> null
- Add specs for Array body handling
Merge pull request #41 from timhall/null-values

Convert empty to null for json