Transform nav Hash parameters into guide parameters

This change allows the reuse of hashes prepared for the `nav` element in the
guide element. Hash keys are transformed before being serialized as XML
elements.