Return render array rather than markup