Compute marc typeOfRecord from main resource core type in MarcFrameConverter