added parse and match methods to validate payload against local config