problem with hex encoding of BYTEA in pg. Converted to text for now