minor refactorings in RemoteColllectorOutputFormat