added genJson for xorm tool