Dynamic object handler for jms/serializer