converted to use json string plugin