Added stmt id to the JSON plan