Flattened JSON to simplify data structure