Added CompyJson interface and CompyJsonFactory.