Removed comparison using toStrings, because the order of keys/values is different on JDK8 Preview.