added json output to the brands controller, will be used for testing the app.