-patch use of JsonContract.OnXXXX to use OnXXXXMethods