dotCMS JSON/XML Content Engine
-------------------------------------------------
 Get lists of content as JSON objects or as XML by passing a query via a url.
 Copy a query from the content search tool and use it to pull content
 This engine will respect permissions and live/working.


Test URL: (in debug mode)
-------------------------------------------------
  /JSONContent/?type=xml&debug=true&q=%2Blive%3Atrue&orderBy=modDate+desc


URL Parameters:
-------------------------------------------------
 q 		: URLEncoded lucene query, e.g. for query '+live:true' do q=%2Blive%3Atrue
 type 		: json or xml (defaults to xml)
 limit 		: number of results, defaults to 10 max of 1000
 offset 	: start at offset, defaults to 0
 orderBy 	: field to orderby, defaults to modDate
 debug 		: if set, will return JSON as text/plain