Fixed remaining serialisation bugs with writing pact files
Fixed remaining serialisation bugs with writing pact files

AssafKatz3/pact-reference,pact-foundation/pact-reference,AssafKatz3/pact-reference,pact-foundation/pact-reference,pact-foundation/pact-mock-server,pact-foundation/pact-reference,pact-foundation/pact-reference,AssafKatz3/pact-reference,pact-foundation/pact-reference,AssafKatz3/pact-reference,pact-foundation/pact-reference,pact-foundation/pact-reference,pact-foundation/pact-reference