Fix getspeciesdata method to push children of null nodes rather than merge hashes