added in capability to get and set context
Companion to quah 14: file based serialization where this assumes that we do not need file based serialization. In this case, we only need to add in the SERIALIZATION_CONTEXT
getter and setter (the former is mostly for testing)