Update "Location"-item via JSON

Tags: #<Tag:0x00007f6173636858> #<Tag:0x00007f6173636740>

I’d like to update a location - item via JSONPATH:

JSON:

{
  "vehicles": {
    "gpsPosition":"48.425198, 10.768657"
	}
}

items

Location	Position		"Position  [%2$s°N %3$s°E %1$sm]"	{ http="<[NIU:30000:JSONPATH($.vehicles.gpsPosition)]" }

When the JSON gets loaded, the “Position”-item won’t get an update.
If I try REST API it works:

 curl -X PUT --header "Content-Type: text/plain" --header "Accept: application/json" -d "48.425198, 10.768657" "http://192.168.xxx.xxx:8080/rest/items/Position/state"

Why does the JSONPATH item transformation fail? (no error in log)

I can answer myself.
looks like, openHAB REST-API works with the space between the location pair and JSONPATH won’t.

I tested a bit with the JSON formatting and found out it works with this formatting:

{
  "vehicles": {
    "gpsPosition":"48.425198,10.768657"
	}
}

Is this considered a bug? I should assume, updating items should be regardless whether they get updated via REST or JSONPATH or mqtt or whatever?