adding JSON serialization support with tests. updated tests to use LabledPoint class rather than java.awt.Point