Worked on ajax post with json object