feature(references) - save references as JSON and dust.js them