Correcting list and typing

There was a problem in the list implementation and the results were not stored as strings but as their native types. This wasn't coherent and is now corrected