Deserialize flattened attributes, for now we unflatten the attributes as the tradeoffs for doing this seem to be different on JavaScript.