fixed json request method