Simplify testing JS by using yoob.Playfield.dump().
Generate loadMapper() and dumpMapper() functions.