BUGFix: use the collectionEncoder and not the ListEncoder when it is required