crichton refactoring: fixing lint and associated specs

@mdsol/hypermedia-team Please review and merge.