Added support for json as a return type to the items index action