refs #6820 - refactoring Param#tree and Action#api_params_tree