I found a hack for the above issue. Just use a non-numeric (dummy) key with all numeric keys and firebase will not convert the numeric key to null when you export. Please check the screen-shot for better understanding. I have used 'd' with other numeric keys, even though i am not using key 'd'.