Adds tuple support for ffi.remapToJs