Trying to pass json to controller