Convert tab to space RestClass.php