Adds a map to a given list and marks it.
COPY/// ds_list_add_map(id,map)
//
//  Adds a map to a given list and marks it.
//  Marking ensures the data of a nested map is
//  included when its parent is encoded as JSON.
//
//      id          list data structure, real
//      map         map to add to list, real
//