read xml into json