Added type conversion capabilities for dictionary to class mapping