Data read and json objects creation