Changed to pickle serializer