modify db schema and parser.js

modify our stored format and adjust parser format in parser.js .