Revert "Move hash prototype definitions into prototypes.json"

This reverts commit f36444cfa31cf507e22b3becb463b81287c8711c.