Serializer support

Last week serializer support was added to the elastica library (https://github.com/ruflin/Elastica/pull/295). This PR adapts the bundle so that this serializer support can be used.