Added contribution serialiser tests
Refractored serialiser into smaller methods
Re-implemented Contributions serialisation

for performance improvements
Merge branch 'improved-serializer' into 0.1.1