function _isValuePair(el) {
  if (_.isObject(el) && _.size(el) === 2) {
    var keys = _.keys(el);
    if (new RegExp(/^@/).test(keys[0]) && keys[1] === '__value__') {
      return true;
    }
  }
  return false;
}
function _isValuePair(el) {
  if (_.isObject(el) && _.size(el) === 2) {
    var keys = _.keys(el);
    if (new RegExp(/^@/).test(keys[0]) && keys[1] === '__value__') {
      return true;
    }
  }
  return false;
}
function _isValuePair ( el ) { if ( _ . isObject ( el ) && _ . size ( el ) === 2 ) { var keys = _ . keys ( el ) ; if ( new RegExp ( / ^@ / ) . test ( keys [ 0 ] ) && keys [ 1 ] === '__value__' ) { return true ; } } return false ; }
/*
helper: identify a structure returned from the API:
{ @key:KEY, __value__:VALUE } => want to turn into { KEY: VALUE }
(and array of these into single obj)
/ * helper : identify a structure returned from the API : {