manual KV parsing. 5 times faster