Add (sparse) structs to Fact thrift format

This is probably not the most efficient version - suggestions welcome.