Fixed key-val pair writing