add json module and the first step for my getdetails request