Python Write Text Array To Json Postgresql Data Masking