Extracting type metadata from Elm code?