<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _names_to_bytes(names):
 """Reproducibly converts an iterable of strings to bytes :param iter[str] names: An iterable of strings :rtype: bytes """

    names = sorted(names)
    names_bytes = json.dumps(names).encode('utf8')
    return names_bytes