changed location hierarchy services to return standard restful response