Make example endpoint an optional profile hint
Update error middleware to allow non-resource responses