added default doc type for key value pairs