Add CollectionOutputFormat for local executor

implement issue #602