GUI: read portal_types configuration from the JSON
demo json: the gadgets should not have html suffix