refactor unmarshalling reflect value.