Updated `hypermedia()` to apply the same logic to Entity reps, updated tests