Refactor Sssd facts to gain performance and use a util library