Allow arrays to be specified as values in location_cfg_* parameters

inspired by the incomplete #147 I've made this change as per the comments on it.