Force values to be a string before encrypting

Fixes #76