client session CHANGE request yang schemas in get-schema

They are smaller than YIN.
diff --git a/src/session_client.c b/src/session_client.c
index 524bfc7..31cb07c 100644
--- a/src/session_client.c
+++ b/src/session_client.c
@@ -204,11 +204,10 @@
     char *model_data = NULL;
     uint64_t msgid;
 
-    /* TODO later replace with yang to reduce model size? */
     if (submod_name) {
-        rpc = nc_rpc_getschema(submod_name, submod_rev, "yin", NC_PARAMTYPE_CONST);
+        rpc = nc_rpc_getschema(submod_name, submod_rev, "yang", NC_PARAMTYPE_CONST);
     } else {
-        rpc = nc_rpc_getschema(mod_name, mod_rev, "yin", NC_PARAMTYPE_CONST);
+        rpc = nc_rpc_getschema(mod_name, mod_rev, "yang", NC_PARAMTYPE_CONST);
     }
     *format = LYS_IN_YIN;
 
@@ -277,6 +276,7 @@
     }
     nc_reply_free(reply);
     *free_model_data = free;
+    *format = LYS_IN_YANG;
 
     return model_data;
 }