Handle non-existent properties - This will allow for the case where a parent object pointer is used to convert a derived object to JSON.