log probs serializing