Error processing webhook

Hi.

I’m having an issue when processing a webhook API request. I’m using Kerberos.io camera events (movement detection) to send a POST request to the API.

An example of the JSON payload is:

{
  'regionCoordinates' : [618, 317, 703, 493],
  'numberOfChanges' : 5446,
  'timestamp' : '1465894497',
  'microseconds' : '5-97451',
  'token' : 695,
  'pathToImage' : '1465894497_5-97451_frontdoor_618-317-703-493_5446_695.jpg',
  'instanceName' : 'frontdoor'
}

link to the docs

The error I get is:

## Log Details (ERROR)

Log Details (ERROR)
Logger: homeassistant.components.webhook
Source: components/automation/webhook.py:30
Integration: Webhook (documentation, issues)
First occurred: 6:30:31 PM (1 occurrences)
Last logged: 6:30:31 PM

File "/usr/local/lib/python3.7/json/decoder.py", line 353, in raw_decode
    obj, end = self.scan_once(s, idx)
json.decoder.JSONDecodeError: Expecting property name enclosed in double quotes: line 2 column 3 (char 4)

So if I change the payload to:

{
  "regionCoordinates" : [618, 317, 703, 493],
  "numberOfChanges" : 5446,
  "timestamp" : "1465894497",
  "microseconds" : "5-97451",
  "token" : 695,
  "pathToImage" : "1465894497_5-97451_frontdoor_618-317-703-493_5446_695.jpg",
  "instanceName" : "frontdoor"
}

The automation works just fine.

Any ideas?