Serialize Decision classes properly