public static function toMetadataWithPreset($preset) {
        $config = array(
            'nid' => Maestrano::with($preset)->param('nid'),
            'marketplace' => Maestrano::with($preset)->param('marketplace'),
            'environment' => Maestrano::with($preset)->param('environment'),
            'app' => array(
                'host' => Maestrano::with($preset)->param('app.host'),
                'synchronization_start_path' => Maestrano::with($preset)->param('app.synchronization_start_path'),
                'synchronization_toggle_path' => Maestrano::with($preset)->param('app.synchronization_toggle_path'),
                'synchronization_status_path' => Maestrano::with($preset)->param('app.synchronization_status_path')
            ),
            'api' => array(
                'id' => Maestrano::with($preset)->param('api.id'),
                'key' => Maestrano::with($preset)->param('api.key'),
                'host' => Maestrano::with($preset)->param('api.host'),
                'base' => Maestrano::with($preset)->param('api.base'),
                'version' => Maestrano::with($preset)->param('api.version'),
                'lang' => Maestrano::with($preset)->param('api.lang'),
                'lang_version' => Maestrano::with($preset)->param('api.lang_version')
            ),
            'sso' => array(
                'idm' => Maestrano::with($preset)->param('sso.idm'),
                'init_path' => Maestrano::with($preset)->param('sso.init_path'),
                'consume_path' => Maestrano::with($preset)->param('sso.consume_path'),
                'idp' => Maestrano::with($preset)->param('sso.idp'),
            ),
            'connec' => array(
                'host' => Maestrano::with($preset)->param('connec.host'),
                'base_path' => Maestrano::with($preset)->param('connec.base_path'),
                'timeout' => Maestrano::with($preset)->param('connec.timeout')
            ),
            'webhooks' => array(
                'account' => array(
                    'group_path' => Maestrano::with($preset)->param('webhooks.account.group_path'),
                    'group_user_path' => Maestrano::with($preset)->param('webhooks.account.group_user_path')
                ),
                'connec' => array(
                    'external_ids' => Maestrano::with($preset)->param('webhooks.connec.external_ids'),
                    'initialization_path' => Maestrano::with($preset)->param('webhooks.connec.initialization_path'),
                    'notification_path' => Maestrano::with($preset)->param('webhooks.connec.notification_path')
                )
            )
        );

        return json_encode($config);
    }