Method get_entry returns object instead of dict