layout_by.blocks_to_rowrecs_spec function

Use transform spec to layout data.