patched to use interface for greater flexibility
minor switch from true as string to true as bool on
map[string]interface{}