Improving the restful design of categories using segments for
hierarchical informations