code: private Map<String, Object> populateRelations(List<String> relations, Object[] o)
      {
          Map<String, Object> relationVal = new HashMap<String, Object>(relations.size());
          int counter = 1;
          for (String r : relations)
          {
              relationVal.put(r, o[counter++]);
          }
          return relationVal;
      }
docs: Populate relations.
  
  @param relations
  the relations
  @param o
  the o
  @return the map