parsing and make json