Fixes generating checksum for non-string value. Closes #7.

Signed-off-by: crynobone <crynobone@gmail.com>