Value conversion by MongoDB driver instead of JSON