Serialise function FIX for BigData