added mutation info to connections in toJSON