NING-13328: Small fixes to bugs discovered in testing.  Deserialization of uniqueCount was depending on size of distribution, but this doesn't work if distribution is excluded.  Also the dates were being serialized as epoch time rather than iso dates