Parses a data structure and collect/inject its values into a PHP structure