Addin facebook class definition fixing json response