Added support for dynamic partials

Now partial name can be present in the data JSON. This is useful for passing dynamic partial name.