Refactored to move common function to Base class
Flatten and expand guest_mode to a comma seperated list of text