Fixed empty map issue

Maps without content were getting loaded in empty

Signed-off-by: Oz Ramos <labofoz@gmail.com>