loop to map in persistence.saveAll