Added dictionaries and arrays support for inapp templates