making Orca compatible with couchDb