Use JSON in requests to Homestead