Add utility function for coffee-mode
Use 'struct' instead of plist for speed