Fast flexible json serialiser & deserialiser with support for contract-based workflows