output some json, may need additional modification and debuging