Convert Object Into String Python Replace Characters