[API] Changed form of shells and corr_shells to list of dicts.
Updated template script