code: def print_input(i):
      
  
      o=i.get('out','')
  
      rx=dumps_json({'dict':i, 'sort_keys':'yes'})
      if rx['return']>0: return rx
  
      h=rx['string']
  
      if o=='con': out(h)
  
      return {'return':0, 'html':h}
docs: Input:  {
              }
  
      Output: {
                return       - return code =  0, if successful
                                           >  0, if error
                (error)      - error text if return > 0
  
                html         - input as JSON
              }