[DT] Added to parse the same optional config argument that format uses.

Revamp of PR #587

- [ ] Test
- [ ] Code Fix
- [ ] History 
- [ ] Sign Off or 3 days

>Added tests, updated the API docs, user guide and example.