loads needs str in python3