only manually filter document data for null values if it contains them