Json sender can now send information instead of just states