Fixed bug where name and internalName fields in staticDataMiddleware where switched.