HAL representation

Agree with the TODO, also this current validation method gives great big tracebacks logged at ERROR when simply a querystring param is missing.