Put non-empty strings into arrays, turn empty-ones into empty arrays. Bypass everything else.
extension-json-empty-string-value-completion
Check an object, if all or some of its leaf nodes are empty. It detects empty string, empty array, empty object, null, undefined in the target object.
a well-tested empty string module in case you forget how to make one