setState: using empty object when user it comes undefined/false/null