Converts this curve into a JSON-serializable object.
A primitive object with the curve's type and only point.