add response with json format to all actions