Implemented the pivot functionality
fixed the ThriftSerialiser for NamespacedThriftFacts