add cloudant utility functions