allow custom collection in ObjectFormatter
Merge pull request #617 from havvg/master

allow custom collection in ObjectFormatter