Changed type of written data back into slice, so that the rendering as JSON or YAML will be backwards compatible again.
Merge pull request #417 from TheMue/endpoints-return-slice-instead-string

Changed type of written data back into slice

This way the rendering as JSON or YAML will be backwards compatible again. We still only return the first endpoint.