simplify Redistent::Writer::index_model_references