code: function populateOriginalKeyDetails (json, originalKey) {
    const properties = [
      'id',
      'name'
    ]
  
    properties
      .filter(jsonProp => !json.hasOwnProperty(jsonProp))
      .forEach(jsonProp => {
        json[jsonProp] = originalKey
      })
  }
docs: populateBlueprintDetails