_paginateCollections(from, size, response) {
    if (from || size) {
      if (from) {
        response.from = Number.parseInt(from);
      } else {
        response.from = 0;
      }

      if (size) {
        response.size = Number.parseInt(size);

        response.collections = response.collections.slice(
          response.from,
          response.from + response.size,
        );
      } else {
        response.collections = response.collections.slice(response.from);
      }
    }

    return response;
  }
Uses from and size to paginate response results
If type is "all", stored collections are prioritary

@param {Number} from
@param {Number} size
@param {Object} response
@returns {Object} { collections, from, size }