extracted createmarcfieldfromrawinput method