adding json to collections