improvement/OSIS-4056 improve to_representation
improvement/OSIS-4056 improve to_representation

uclouvain/OSIS-Louvain,uclouvain/osis,uclouvain/osis,uclouvain/osis,uclouvain/OSIS-Louvain,uclouvain/osis,uclouvain/OSIS-Louvain