json header file fix, modified a way to send json object to controller