Added json parse, some logs