fixes #8019 - convert po to JSON before refreshing pot/po files