Pass the hExtras directive to the toHash method so the serialized output will go as deep as the caller requests.