code: function prepareData(response, rootUrl, data) {
    if(data.devices) {
      var devices = data.devices;
      for(var device in devices) {
        devices[device].href = rootUrl + '/whereis/transmitter/' + device;
        var radioDecodings = devices[device].radioDecodings;
        for(var cDecoding = 0; cDecoding < radioDecodings.length; cDecoding++) {
          var radioDecoder = radioDecodings[cDecoding].identifier.value;
          radioDecodings[cDecoding].href = rootUrl + '/whatat/receiver/' +
                                           radioDecoder;
        }
      }
      response.devices = devices;
    }
  }
docs: Prepares and adds the devices to the given API query response
  @param {Object} response JSON representation of the response
  @param {String} rootUrl The root URL of the original query.
  @param {Object} data The data to include in the response