Add row value constructor to codegen output
Supersedes #614