Escape member name to prevent JS issues, fixes #769