Use go-logging Printf-style names. Add JSON encoding of schema.