async examples in sailsjs, working with json objects and mixed array prototypes