The chunk checksum is just a CRC32. It seems to be a slighty weird one in that there seems to be signed/unsigned difficulties. This is fixed in the javascript for all my test cases. Right now it does nothing except check the signatures of each chunk.
It is easy to add json serialization/unserialization later.