Add base 10 serialization to toString