De/Serializing null/empty should result to null