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

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