parsing jason ab codes and fill into db