'Exports the stack data json.
Intended to be used to safely retrieve the stack data before
performing the abandon action.
:param cnxt: RPC context.
:param stack_identity: Name of the stack you want to export.'

@context.request_context
def export_stack(self, cnxt, stack_identity):

    return self.abandon_stack(cnxt, stack_identity, abandon=False)
