avoid saving json encoded documents