Fixed an issue with getJSON (type was not correctly passed on when data was ommited...