Similar to omit-empty, recursively omits empty properties, but also compacts/flattens nested arrays in an object.