Switch to #pathData for JSON serialization of Path and CompoundPath.