It was fetched by using a simple finder \XF::finder('XF:Thread'). I'm not sure why it wouldn't encode it, but I ended up having to run a loop to convert everything within the object to an array, and then encode those.
It was fetched by using a simple finder \XF::finder('XF:Thread'). I'm not sure why it wouldn't encode it, but I ended up having to run a loop to convert everything within the object to an array, and then encode those.