added separate JSON output