added the wrap-json-params ring middleware and changed the method signature of createTournament to accept a map