code: function serialize (layersCollection, dataviewsCollection) {
    var analysisList = AnalysisService.getAnalysisList(layersCollection, dataviewsCollection);
    return _generateUniqueAnalysisList(analysisList);
  }
docs: Return a payload with the serialization of all the analyses in the
  layersCollection and the dataviewsCollection.