Arranged the JSON request