fix to outpu json result