Merge config blocks for rest api
Add documentation for the d2-rest module