insert null on blank values

This is tested over PostgreSQL