public Map<String, Object> toMap() {
        Map<String, Object> res = new HashMap<>();
        res.put(AclEntry.PRINCIPAL_KEY, principal());
        res.put(AclEntry.PERMISSION_TYPE_KEY, SecurityUtils.permissionTypeName(permissionType()));
        res.put(AclEntry.OPERATION_KEY, SecurityUtils.operationName(operation()));
        res.put(AclEntry.HOSTS_KEY, host());
        return res;
    }
Parse JSON representation of ACLs
@param bytes of acls json string

<p>
        {
            "version": 1,
            "acls": [
                {
                    "host":"host1",
                    "permissionType": "Deny",
                    "operation": "Read",
                    "principal": "User:alice"
                }
            ]
        }
</p>

@return set of AclEntry objects from the JSON string
server/src/main/java/org/apache/kafka/security/authorizer/AclEntry.java