String format compatibility with Python msgpack library