Return null from GetPairs/GetNameValueCollection if value is null

* fixes Json.net deserialization
Merge pull request #43 from rossipedia/fix-json-net

Return null from GetPairs/GetNameValueCollection if value is null