Lua extension library, extend string.format to support object member print