Json and XML lection