save names as list rather than string

Signed-off-by: Ian Bell <ian.h.bell@gmail.com>