Change resource header to referenceish

Prior to this commit there was duplication between the hash key and
the DSL, this change adds some formatting