Add smart case logic on api_result for rs-create-server-cs.sh.