PHP based MARC spec as string parser and validator