Formats couchdb output properly
Compatibility