Fixed dynamodb encode_s function to properly handle unicode/utf-8
encoding.
Don't unecessarily check if it's not a string after we've confirmed it
was a unicode string in dynamo type fix