adds jms serializer annotations