Adding a method in model to generate dict json
Creating a view for listing all listeners