This affect the site_edit screen so that the multibox both works and can store the values to the sites table.

Since sites only stores single values and this is a list we need to convert back and forth which makes up much of the code.