add brain to result dict to allow customization of template