fix IJsonCompatible methods signature