Currently, PHP metadata is a map of strings to values that are sometimes strings and sometimes arrays. This is difficult to program against.