Improve: Creating default object from empty value (PHP 5.4)