ensure booleans, numbers, floats, lists and dicts are converted to strings