api.__index: Set the "stringify_ids" option enabled by default

this is needed on Lua to prevent incorrect parsing of large integers