Used JSONObjects as protocol