CouchDB to RDBMS bridge