-json command-line option

Sets the json resource to true.