collect mustache partials into a json document