I think you could use a library, the Apache Commons BeanUtils. If you have a map that contains field and value pairs, the class PropertyUtils can help you:
Person person = new Person();
for(Map.Entry entry : map.entrySet())
PropertyUtils.setProperty(person, entry.getKey(), entry.getValue());