added json format to controller