script to simplify json values modification