Fix adapters from json definitions being ignored.
Merge pull request #203 from linrock/fix-options

Fix adapters from JSON definitions being ignored.