Updated entry point
Added better support for sparsely populated objects