bugfix: when grandparentkey is unknown (yet should exist) we will need to prepend '/library/metadata/' to the xml key