input: |
  // vim:syntax=javascript
  {
    name: 'yapm',
    version: '1.1.0-1325', // upstream npm@1.3.25
    description: 'A package manager for node (npm fork)',
  }

output: |
  // vim:syntax=javascript
  {
    name: 'yapm',
    version: '1.1.0-1325', // upstream npm@1.3.25
    description: 'A package manager for node (npm fork)',
    _id: 'yapm@1.1.0-1325',
    dist: {
      shasum: 'd5aa31c1ad00c1e7e57e07cea1b22c1806a47111',
    },
    _from: './zzz',
  }

test: !!js/function |
  function(jju, input) {
    var upd = {
      "name": "yapm",
      "version": "1.1.0-1325",
      "description": "A package manager for node (npm fork)",
      "_id": "yapm@1.1.0-1325",
      "dist": {
        "shasum": "d5aa31c1ad00c1e7e57e07cea1b22c1806a47111"
      },
      "_from": "./zzz"
    }
    return jju.update(input, upd)
  }

