add basic JSON-formatted issue endpoint