Converted list to JSON, more general format