Changes the representation of JsxElement props to be an array of attributes, each of which can be a named attribute or spread attribute.