moved $.jsonCollection to $.res.collection.