tweaked json output for articles controller
added simple json api for categories controller