If we catch NSInvalidArgumentException while creating the parent object chain, assume that this is because the JSON contains a key with dots. Fixes #1532