Added json serialize to collections