Add support for scalar types as dictionary keys in vibe.data.serialization. Fixes #394.