Revised formatting for Ajax request