Provide missing json constructor for options objects

the default value new JsonArray() should prevent NPE.