pipe json to collection