cast all keys to strings to fix sorting of fields