Added Serialization/Deserialization functions for JSON/XML to RESTClientBase