Implementing deserializer further; updated serialization interface for ResponseMessages.