index and show json return within api/v1 namespace