Remove properties having a null value from the key list

Signed-off-by: Clement Escoffier <clement.escoffier@gmail.com>