Add list to json conversion