Updated hook config parser to use metadata parser to get required attributes (less error checking in impl)