add json serializer and serialize scheduler