added serialization to XML-RPC values, library heavily based upon Rust json serialization