Added check for non-unicode keys in PythonDictMarshaller right to the beginning of the writing process so that nothing is changed if there is a non-unicode key.