HomeIn-Portal Phabricator

[backported] Fixes INP-1631 - Use "array_replace_recursive" inside…