String jobName = (String) entry.get("job");
if ("Actor".equals(jobName)) {
Actor actor = new Actor();
actor.setId(id);
doImportPerson(actor);
Role role = new Role();
role.setActor(actor);
role.setMovie(movie);
role.setName((String) entry.get("character"));
em.persist(role);
movie.getRoles().add(role);
}
else if ("Director".equals(jobName)) {
Director director = new Director();