UI.registerHelper('objectToPairs', function(object) {
    // http://stackoverflow.com/questions/30234732/how-to-print-key-and-values-in-meteor-template
    return _.map(object, function(value, key) {
        return {
            key: key,
            value: value
        };
    });
});
