code: def features_to_dict(features):
      return dict(features._asdict())
  
imports: import json
  import locale
  import os
  import re
  import subprocess
  from collections import namedtuple
  from os.path import expanduser
  import requests
label_desc: Use image node_id 2 for calling a global function with example usage: features_to_dict(features) and returns: dict