Revert "Converted null value before saving to DB"

This reverts commit b827cc9d5e8d864e956424da596bd72a99228ce8.