add EdmComplexTypeRef support in json writer