PHP library for normalizing, validating, and templating associative arrays