logscheme.go: add member func. to marshal to json