return json if accept is not given