Cache rendered block-field layouts. Use correct json data for block-fields. Squash html when writing file.