Converts this Path to a JSON object containing the path information and its constituent curves.
The JSON object containing this path's data.