get settings as string map
added some tests