support for nested placeholder JSON