Fixed error in CPDescriptionOfObject when JSON property has null value

The function can't handle the following JSON object: {name: null}.
Also added a test case for this.