There was a scaleform function to read and write KV files, briefly looking at the API:

I see nothing related to reading / writing KV files

The scaleform functions, under Game Interface:

LoadKVFile KVObject LoadKVFile( cstring, cstring, cstring )
SaveKVFile void SaveKVFile( KVObject, cstring, cstring, cstring )

For now, I will compile my KVs into javascript, but, this is bloody stupid :/