Fix KeyError when no data for a path

I was getting a KeyError on a path when no data was available, this fixes that by return an array by default if they key doesn't exist