specify application/json content type for all_docs, remove cruft