Simplify dummy contents generation

As suggested by @vitoshka.