OJS 3.1.0 Migrating from sr_RS and sr_SR to sr_RS@cyrillic and sr_RS@latin

With upgrade to OJS 3.1.0 we have to migrate content of our sites from from sr_RS and sr_SR to sr_RS@cyrillic and sr_RS@latin, is there an easy way to do it?