Revert "minor update to api sample output and fixed indentation"

This reverts commit fecd88f2df90cd10a04232140a6f971258ad420d.