Deep merge objects when dereferencing
Fix failing render_test spec