Add symfony serializer to dependencies