Build new resulting json string to avoid issues on iterations