check for null JSON property instead of expected (empty) array