point.toJSON()

Return the point as a simple JSON object. For example: { "x": 0, "y": 0 }.