Extract options out ot JSON file

Fixes #31 
not following, what do you want to change?