handler for the command 'get_objects_info'