Map Object Array To String Python Replace