PIM-3364 : fix circular reference in Mongo completeness generator