Json chain and map