Add alias for subscribers

Add validation to permir custom alias for subscriber, get class name for
object and default stdClass for null aliases.