lib: update json module to the latest FFI spec