Created by: efritz
Noticed that writes were failing in k8s postgres pod logs and investigated. Found that non-ascii characters can cause the bytea format to fail insertion.
New unit tests.