Products controller respons to JSON as wel as HTML