implement JsonableContract