work with a fork of jms/serializer until #238 has been merged