fix up p2g writer
port SQLite driver over to point-context-schema