fixed height-width inversion in output json