first functional version of marctojson.go