Could you check the spacing. Looks like you have spaces at the beginning of the lines. 

Also can you add a spec for `JSON.secure` global option.