changed output to be json so we can start testing