Adding width and height to the json output of the single beam script