implemented SamplingPoint serialization from/to json