private Flw processProvider(Map<String, FlwGroup> flwGroups, Provider provider) {
   logger.info(String.format("Creating/Updating provider with id: %s", provider.getId()));
   Map<String, Object> parsedProvider = providerParser.parse(provider);
   Flw flw = genericMapper.map(Flw.class, parsedProvider);
   flw.setFlwGroups(new HashSet<>(getAssociatedFlwGroups(provider.getGroups(), flwGroups)));
   flw.setLocationDimension(getLocationDimension(parsedProvider));
   return flw;
 }
 private FlwGroup processGroup(Group group) {
   Map<String, Object> parsedGroup = groupParser.parse(group);
   return genericMapper.map(FlwGroup.class, parsedGroup);
 }