updated to MARCSpec version 0.5draft, added json encoding support