recursively expand an object, resolving its template strings
function (data, obj, options) {
  var result = {};
  Object.keys(obj).forEach(function(key) {
    result[key] = expander.process(data, obj[key], options);
  });
  return result;
}