import typing
import json


def fromjson(data_bytes: bytes) -> typing.Any:
    """Convert bytes to a python data structure.

    Convert json code in byte form, typically received from a QAI request,
    into a data struct which we return.

    Args:
       data_bytes: in the input JSON bytes
    Returns:
       The converted python data structure.
    Raises:
       This routine will raise an exception if a json conversion error occurs.
    """
    return json.loads(data_bytes)