Fix NuGet/NuGetGallery#1931 and add some unit tests
MOAR UNIT TESTS!
Merge pull request #3 from NuGet/anurse/1931-jsonformatcamelcasing

Fix NuGet/NuGetGallery#1931 and add some unit tests