Provide missing json constructor for options objects
Merge pull request #884 from vietj/master

Provide missing json constructor for options objects