title: Failed to assign function value to list
body: <p>good evening,
  I have a function in aws that returns a list, when I print it I display the values, but when I assign it to a variable I verify that it is blank. I have tried several things but I cannot find the error. please appreciate your help.</p>
  
  <p>the lambda function correctly returns the value.
  the value is:</p>
  
  <p>os.system("echo value: '{}'".format( str(response['Payload'].read().decode('utf-8'))))</p>
  
  <p>result is:
  [{"bool_respuesta": 1, "resultado": "ganado", "error": "errores"}]</p>
  
  <p>respuestaServicio= list( ( response['Payload'].read().decode('utf-8') )</p>
  
  <p>os.system("echo Json respuesta archivo enviar_guia : '{}'".format( str(respuestaServicio)  ))</p>
  
  <p>the result is an empty list: []</p>
  
  <p>I don't know why the value is not assigned to the variable. when I don't put list (), I check that the type is a string. I don't know if it should return a list instead of a default string.</p>
  
  <p>thanks,</p>