Added support for serializers, added one for json