As 'str' doesn't work.... encode map to get data