Improves CommentParser to selectively convert the annotation value to array only when array is expected