Mutualize inspector process config input.query for model and modeltree