Support JSON Schema for collections

Change-Id: Ib6ffcd00e367ab2bb591134072ea9e856f65e594