Fix JSON Style

fix 0=>1,-1=>0 because of MySQL auto_increment