reformat output of EntityRemover for latter use.