fixing borked JSON