Simplified code of JsonLinkedContractResolver.CreateProperty.