Issue edina/fieldtrip-gb#46 add function to get config object