Adding support for collections where data is a string rather than hash