I don't think it is currently possible since the key (and also key_as_string) is solely intended to be a bucket identifier, not something that is intended for direct use in a graph, for example. I came across this issue recently which talks a bit about scripted formatting of this, but I don't think this has really made it as a feature request yet.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.