Add doc type ckeching as option with couchbase.failonnonstring flag