First verion of the json parser