Added extra catch when converting json in Item class