def get_json_str_form_file(file_path: str) -> str:
    """
    Returns the content of a text file as a valid json string
    :param file_path: str
    :return: str
    """
    with open(file_path, 'r') as file:
        return file.read().replace('\n', '')