Turn staticdata into an object if possible