Only stringify schema once

The stringify step recursively stringifies all keys of the schema. At the moment it is not done once per schema, but over and over again for every sub–schema. Pulling out the stringify step from the schema initialization speeds up schema verification by around 30% on my machine. Tests still pass.