module.exports = {
      generator: function(obj) {
        return function() {
          if (_.isPlainObject(obj)) {
            return (new KVPairNode(obj)).getValue();