Allow for entity documentation to support an array of entities

This allows for using the $ref element in the swagger spec to display nested relationships.