Imporved serializer. Reduce complexity and added unit tests for PROV-N

Reduced complxity added unit tests
Broke up storeProvO for easier testing
Reduce complexity, added tests PROV-O
Reducing complexity adding tests
Reduced complexity added tests
Reducing complexity
Reduced complexity
Reduced complexity and added tests
Added more tests
Reduce complexity
Reducing complexity
Reduced complexity
Reduce complexity
Added unit tests
Reduced complexity
Reduce complexity