Modify REST hierarchy for entries