added width and height to the json objects