Database json serializer forces unicode string format in database documents.

* This makes it easier for the design documents to handle encoded atoms.
* Also, accept unicode dictionary keys in force_unicode mode.