Refactored serialization to use JSON.stringify
Bumped the size of the file chunk and added some profiling logging
Another performance tweak