Allow any custom configuration

When defining custom analyzer you need to specify full yaml instead of pure key values.
This patch is not perfect but does the job.