Javascript implementation of FastRPC (de-)serialization