use json string for passing data