nested enum fields parsing