Fix Jena => RIOT serialization