[Editor] Fixed get_objects returning a flat array