[graphspell] helpers: Map/Object conversion: return null with null given as parameter