migrate to node-orm2
fix get json mesgs bug