Return width and height as a hash of data