use json in put command