Introduce thrift format for ingest

Definitely some questions around this - opening it up for discussion
This is probably wrong - happy to change.