Bug 898559 - Add metadata API for add-on globals.