Narrow context to com_k2
Change JSON URl to JFactory/getURI toString() to ensure always getting the query portion
Enable valid root URL JSON